package com.eascs.ticket.user.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * The persistent class for the user_structure database table.
 * 
 */
@Entity
@Table(name = "user_structure")
@NamedQuery(name = "UserStructure.findAll", query = "SELECT u FROM UserStructure u")
public class UserStructure extends com.eascs.ticket.common.entity.InsertEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name = "parent_user_code")
	private String parentUserCode;

	@Column(name = "user_code")
	private String userCode;

	public UserStructure() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentUserCode() {
		return this.parentUserCode;
	}

	public void setParentUserCode(String parentUserCode) {
		this.parentUserCode = parentUserCode;
	}

	public String getUserCode() {
		return this.userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

}